﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Silverlight.ControlToolkit.Windows
{

    public enum DialogResult
    {
        None = 0,
        OK = 1,
        Cancel = 2,
        Yes = 3,
        No = 4,
        Abort = 5,
        Retry = 6,
        Ignore = 7
    } 

    public class DialogBoxEventArgs : RoutedEventArgs
    {
        public DialogResult ActionTaken { get; set; }
    }

    public class DialogBoxClosingEventArgs : DialogBoxEventArgs
    {
        public bool Cancel { get; set; }
    }

    public delegate void DialogBoxClosingEventHandler(object sender, DialogBoxClosingEventArgs e);
    public delegate void DialogBoxClosedEventHandler(object sender, DialogBoxEventArgs e);


}
